package com.macro.mall.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.macro.mall.model.UmsMember;

/**
 * @Author：MinxiaoHao
 * @Description:
 * @name：UserService
 * @Date：2024/10/22 20:35
 */
public interface UserMemberService {
    SaTokenInfo login(String username, String password);

    UmsMember getCurrentAdmin();
    UmsMember getAdminByUsername(String username);
}
